
/* 头部开始样式 */
.header{
    width:100%;
    max-width: 540px;
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 60px;
    display: flex;
    justify-content:space-between;
    background: linear-gradient(to bottom,rgba(0,0,0,.4),rgba(0,0,0,0));
    padding-left: 12px;
    z-index:9999;
    transition: 0.5s background;
}
.header .search{
    background: #ffffff;
    width: 90%;
    height: 28px;
    line-height: 28px;
    border-radius: 20px;
    margin-top: 8px;
    position: relative;
    padding-left: 40px;
    color: #666666;
    box-sizing: border-box;
}
.header .search::before{
    content:"";
    position: absolute;
    left: 16px;
    top: 0;
    width: 15px;
    height: 100%;
    background: url("../images/home-common.png") 0 7px;
    background-size: 21px auto;
}
.header .user{
    font-size:12px;
    color:white;
    margin-right: 12px;
}
.header .user::before{
    content: "";
    display: block;
    width: 100%;
    height: 23px;
    background: url(../images/home-common.png) center -31px no-repeat;
    background-size: 20px auto;
}

/* 滚动页面以后header使用的样式 */
.search-index-fixed{
    background: #fff;
    height: 44px;
}
.search-index-fixed .search{
    background: #ececed;
}
.search-index-fixed .user{
    color:#222222;
}
.search-index-fixed .user::before{
    background: url(../images/home-common.png) center -71px no-repeat;
    background-size: 20px auto;
}

/* 头部结束样式 */


/* 轮播图样式开始 */
.banner .swiper-container img {
    width: 100%;
}
.banner .swiper-pagination-bullet{
    background: #fff;
    opacity: 0.4;
}
.banner .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
    width: 20px;
    border-radius: 20px;
}
.banner .swiper-pagination{
    text-align: right;
    bottom:42px;
    padding-right: 9px;
}		
/* 轮播图样式结束 */



/* 导航1样式开始 */
.local-nav{
    height: 64px;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    margin-left:12px;
    margin-right: 12px;
    margin-top: -40px;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
    z-index: 2;
    font-size:12px;
}
.local-nav ul{
    display: flex;
    justify-content:space-around;
}
.local-nav ul li {
    text-align: center;
}
.local-nav ul li .icon{
    display: block;
    margin:0 auto;
    width: 40px;
    height: 40px;
    background:url(./../images/home-fivemain.png) no-repeat 0 0;
    background-size:40px auto;
}
.local-nav ul li:nth-child(2) .icon{
    background-position: 0 -38px;
}
.local-nav ul li:nth-child(3) .icon{
    background-position: 0 -76px;
}
.local-nav ul li:nth-child(4) .icon{
    background-position: 0 -118px;
}
.local-nav ul li:nth-child(5) .icon{
    background-position: 0 -157px;
}
/* 导航1样式结束 */



/* 导航2样式开始 */
.nav{
    margin-left: 12px;
    margin-right: 12px;
}
.nav .grid-nav-common{
    height: 65px;
    line-height: 65px;
    border-bottom:1px solid #fff;
}
.nav .grid-nav-common:first-child{
    display: flex;
}
.nav .grid-nav-common a{
    flex:1;
    text-align: center;
    border-right:1px solid #fff;
    color:#fff;
}
.nav .grid-nav-common a:last-child{
    border-right: none;
}
.nav .grid-nav-common a:first-child{
    text-align: left;
    padding-left: 13px;
}
.nav .grid-nav-common:first-child{
    background:linear-gradient(to right,#fa5b56,#fb8550);
    display: flex;
    border-radius: 10px 10px 0 0;
}
.nav .grid-nav-common:first-child a:nth-child(1){
    background: url("./../images/grid-nav-items-hotel.png") no-repeat right bottom;
    background-size:73px auto;
}
.nav .grid-nav-common:first-child a:nth-child(2){
    background: url("./../images/grid-nav-items-minsu.png") no-repeat left bottom;
    background-size:37px auto;
}
.nav .grid-nav-common:first-child a:nth-child(4){
    background: url("./../images/grid-nav-items-jhj.png") no-repeat right bottom;
    background-size:73px auto;
}
.nav .grid-nav-common:nth-child(2){
    background:linear-gradient(to right,#4b90ed,#53bced);
    display: flex;
}
.nav .grid-nav-common:nth-child(2) a:nth-child(1){
    background: url("./../images/grid-nav-items-flight.png") no-repeat right bottom;
    background-size:73px auto;
}
.nav .grid-nav-common:nth-child(2) a:nth-child(2){
    background: url("./../images/grid-nav-items-train.png") no-repeat left bottom;
    background-size:37px auto;
}
.nav .grid-nav-common:last-child{
    border-bottom:none;
    background:linear-gradient(to right,#34c2a9,#6bd559);
    display: flex;
    border-radius: 0 0 10px 10px;
}
.nav .grid-nav-common:last-child a:nth-child(1){
    background: url("./../images/grid-nav-items-travel.png") no-repeat right bottom;
    background-size:73px auto;
}
.nav .grid-nav-common:last-child a:nth-child(2){
    background: url("./../images/grid-nav-items-dingzhi.png") no-repeat left bottom;
    background-size:37px auto;
}
/* 导航2样式结束 */




/* 导航3样式开始 */
.subnav-entry{
    margin-left: 12px;
    margin-right: 12px;
    height: 123px;
    font-size:12px;
}
.subnav-entry ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.subnav-entry ul li{
    width:20%;
    height: 60px;
    text-align: center;
}
.subnav-entry ul li a{
    width: 100%;
    height: 100%;
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.subnav-entry ul li a .icon{
    display: block;
    width: 28px;
    height: 28px;
    background: url("./../images/un_ico_subnav.png") no-repeat;
    background-size: 28px auto;
    margin-top: 10px;
}
.subnav-entry ul li:nth-child(2) a .icon{
    background-position:0px -28px;
}
.subnav-entry ul li:nth-child(3) a .icon{
    background-position:0px -56px;
}
.subnav-entry ul li:nth-child(4) a .icon{
    background-position:0px -84px;
}
.subnav-entry ul li:nth-child(5) a .icon{
    background-position:0px -114px;
}
.subnav-entry ul li:nth-child(6) a .icon{
    background-position:0px -140px;
}
.subnav-entry ul li:nth-child(7) a .icon{
    background-position:0px -168px;
}
.subnav-entry ul li:nth-child(8) a .icon{
    background-position:0px -196px;
}
.subnav-entry ul li:nth-child(9) a .icon{
    background-position: 0px -225px;
}
.subnav-entry ul li:nth-child(10) a .icon{
    background-position: 0px -252px;
}
.subnav-entry ul li a .new{
    position: absolute;
    font-size: 8px;
    color: #fff;
    background: linear-gradient(to right,#f94242,#ffa25f);
    border-radius: 7px;
    padding: 2px 5px;
    top: 0px;
    left: 50%;
}
/* 导航3样式结束 */




/* 特卖会样式开始 */
.temaihui{
    height: 261px;
    padding:10px;
    background: #ffffff;
    border-top:1px solid #dbdbdb;
    border-bottom:1px solid #dbdbdb;
}
.temaihui .title{
    height: 34px;
    background: #fff;
    display: flex;
    justify-content:space-between;
}
.temaihui .title h2{
    width: 56px;
    height: 16px;
    background: url("./../images/un_home_text.png") no-repeat;
    background-size:76px auto;
}
.temaihui .title a{
    border-radius: 10px;
    padding-left: 12px;
    padding-right: 18px;
    font-size:12px;
    height: 20px;
    line-height: 20px;
    background:linear-gradient(to right,#ff4f65,#ff6bc5);
    color:white;
    position: relative;
}
.temaihui .title a::after{
    content: '';
    position: absolute;
    top: 6px;
    right: 9px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-width:2px 2px 0 0;
    transform: rotate(45deg);
}
.temaihui .content{
    display: flex;
    height: 203px;
}
.temaihui .content .left{
    flex:1;
    margin-right: 4px;
    background: #f9f9f9;
}
.temaihui .content .left img{
    width: 100%;
    height: 117px;
}
.temaihui .content .left p{
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    /*第几行显示省略号*/ 
    -webkit-line-clamp: 2;     
     -webkit-box-orient: vertical;
     padding: 8px 8px 0px 8px;
     box-sizing: content-box;
}
.temaihui .content .left .price{
    color:#ff495e;
    padding-left: 8px;
    display: block;
    margin-top: 8px;
    font-size:16px;
}
.temaihui .content .left .price::before{
    content:"¥";
    color:#ff495e;
    font-size:10px;
}
.temaihui .content .left .price::after{
    content:"起";
    color:#ff495e;
    font-size:13px;
}
.temaihui .content .right{
    flex:1;
}
.temaihui .content .right .top{
    height: 88px;
    margin-bottom: 4px;
    background: #f9f9f9;
}
.temaihui .content .right .top a{
    height:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 7px;
    padding-right: 10px;
}
.temaihui .content .right .top a dt{
    color:#fd3a51;
    font-weight: bold;
}
.temaihui .content .right .top a dd{
    font-size:12px;
}
.temaihui .content .right .bottom{
    height: 110px;
    display: flex;
    justify-content:space-between;
}
.temaihui .content .right .bottom .one{
    flex:1;
    background: #f9f9f9;
    margin-right: 4px;
    height: 100%;
    text-align: center;
}
.temaihui .content .right .bottom .one p:first-child{
    font-weight: bold;
    font-size:16px;
    color:#6aabff;
    margin-top: 14px;
}
.temaihui .content .right .bottom .two{
    flex:1;
    background: #f9f9f9;
    height: 100%;
    text-align: center;
}
.temaihui .content .right .bottom .two p:first-child{
    font-weight: bold;
    font-size:16px;
    color:#53ca72;
    margin-top: 14px;
}
/* 特卖会样式结束 */



/* 热门活动样式开始 */
.hot_huodong{
    margin-top: 8px;
    border-top:1px solid #dbdbdb;
    border-bottom:1px solid #dbdbdb;
    background: #fff;
}
.hot_huodong .title{
    margin-top: 10px;
    height: 34px;
    background: #fff;
    display: flex;
    justify-content:space-between;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px solid #f2f2f2;
}
.hot_huodong .title h2{
    width: 76px;
    height: 16px;
    background: url("./../images/un_home_text.png") 0 -18px no-repeat;
    background-size:76px auto;
    position:relative;
}
.hot_huodong .title h2::after{
    content:"";
    display: block;
    width: 36px;
    height: 16px;
    background: url("./../images/icon-gg.png") no-repeat;
    background-size: contain;
    position: absolute;
    right: -45px;
    top: 0;
}
.hot_huodong .title a{
    border-radius: 10px;
    padding-left: 12px;
    padding-right: 18px;
    font-size:12px;
    height: 20px;
    line-height: 20px;
    background:linear-gradient(to right,#ff4f65,#ff6bc5);
    color:white;
    position: relative;
}
.hot_huodong .title a::after{
    content: '';
    position: absolute;
    top: 6px;
    right: 9px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-width:2px 2px 0 0;
    transform: rotate(45deg);
}
.hot_huodong .content{
    display: flex;
    flex-wrap: wrap;
}
.hot_huodong .content div{
    width: 50%;
    border-right:1px solid #f2f2f2;
    border-bottom:1px solid #f2f2f2;
}
.hot_huodong .content div:nth-child(2n){
    border-right:none;
}
.hot_huodong .content div img{
    width: 100%;
    height:100%;
}
/* 热门活动样式结束 */




/* 底部样式开始 */
.footer{
    margin-top: 8px;
}
.footer .tool-cn{
    height: 60px;
    border-top:1px solid #dbdbdb;
    border-bottom:1px solid #dbdbdb;
    background: #fff;
    display: flex;
    justify-content: space-around;
}
.footer .tool-cn a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size:12px;
}
.footer .tool-cn a span{
    font-size:26px;
    color:#999999;
}
.footer .tool-ver{
    margin-top: 10px;
    margin-bottom: 12px;
    text-align: center;
    color:#666666;
    font-size:12px;
}
.footer .tool-ver span{
    font-size:12px;
    margin-right: 3px;
}
.footer .copyright{
    color:#999999;
    text-align: center;
    font-size:12px;
    margin-bottom: 11px;
}
.footer .copyright a{
    color:#999999;
}
/* 底部样式结束 */